<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style>
*{margin:0px;padding:0px;}
body, h1, h2, h3, h4, h5, h6, hr, p, i,blockquote, pre, dl, dt, dd, ul, ol, li, th, td, div, a,section,article,cite{font-style:normal;font-weight:normal;}
body{height:100%;width:100%;background-color:white;font:size:14px;}
header{position:fixed;top:0px;z-index:100;background:white;padding-top:10px;height:30px;width:100%;-moz-box-flex:1;-webkit-box-flex:1;text-align:center;border-bottom:1px solid gray;-webkit-box-shadow:0px 1px 3px rgba(0,0,0,0.7);-moz-box-shadow:1px 1px 3px #292929;}
header h1{font-size:16px;font-weight:600;}
header > div{position:absolute;top:10px;right:0px;float:right;width:100px;display:-webkit-box;display:-moz-box;-webkit-box-align:center;}
header > div > a{display:block;width:45px;padding:5px 1px;background:#00bfff;border:1px solid #fefefe;font-size:12px;color:white;}
section{margin-top:44px;margin-bottom:32px;
  display: -webkit-box;
  -webkit-box-orient: horizontal;
  -webkit-box-pack: center;
  -webkit-box-align: center;
  display: -moz-box;
  -moz-box-orient: horizontal;
  -moz-box-pack: center;
  -moz-box-align: center;
  }
section div{width:70%;padding:1px 10px;
	border:1px solid gray;
	border-top:0px;
	display:none;}
section div.active{display:block}
section article {height:100%;padding:6px 2px 6px 30px;border-bottom:1px solid gray;background:url(res/file.png) 0 50% no-repeat;background-size:20px 27px;}
section article:last-child{border:none;}
section article i{border:1px solid gray;width:45px;background:#00bfff;display:inline-block;text-align:center;float:right;color:white;font-size:12px;padding:2px 2px;}

footer{position:fixed;bottom:0px;z-index:100;background:rgba(0,0,0,0.5);height:30px;width:100%;
text-align:center;border:1px solid gray;
-webkit-box-shadow:0px 1px 3px rgba(0,0,0,0.7);-moz-box-shadow:1px 1px 3px #292929;
display:-webkit-box;display:-moz-box;-webkit-box-align:center;
}
footer a{padding:6px;border-top:none;display:block;-moz-box-flex:1;-webkit-box-flex:1;border-right:1px solid white;color:white;}
footer a.active{border-top:4px solid rgba(20,20,20,1);}

</style>
<script src='js/jquery.js'></script>
<script>
$(function(){
	$("footer a").click(function(){
		$(this).addClass('active').siblings().removeClass('active');
		$('section div').eq($(this).index()).addClass('active').siblings().removeClass('active')
	})
})
</script>
</head>
<body>
	<header>
		<h1>文件浏览</h1>
		<div>
			<a>刷新</a>
			<a>上传</a>
		</div>
	</header>
	<section>
		<div class="active">
			<article>aaaa.txt<i>下载</i></article>
			<article>aaaa.txt<i>下载</i></article>
			<article>aaaa.txt<i>下载</i></article>
			<article>aaaa.txt<i>下载</i></article>
			<article>aaaa.txt<i>下载</i></article>
			<article>aaaa.txt<i>下载</i></article>
			<article>aaaa.txt<i>下载</i></article>
			<article>aaaa.txt<i>下载</i></article>
			<article>aaaa.txt<i>下载</i></article>
			<article>aaaa.txt<i>下载</i></article>
			<article>aaaa.txt<i>下载</i></article>
			<article>aaaa.txt<i>下载</i></article>
			<article>aaaa.txt<i>下载</i></article>
			<article>aaaa.txt<i>下载</i></article>
		</div>
		<div>
			<article>aaaa.txt<i>查看</i></article>
			<article>aaaa.txt<i>查看</i></article>
			<article>aaaa.txt<i>查看</i></article>
			<article>aaaa.txt<i>查看</i></article>
			<article>aaaa.txt<i>查看</i></article>
			<article>aaaa.txt<i>查看</i></article>
			<article>aaaa.txt<i>查看</i></article>
			<article>aaaa.txt<i>查看</i></article>
			<article>aaaa.txt<i>查看</i></article>
			<article>aaaa.txt<i>查看</i></article>
			<article>aaaa.txt<i>查看</i></article>
			<article>aaaa.txt<i>查看</i></article>
			<article>aaaa.txt<i>查看</i></article>
			<article>aaaa.txt<i>查看</i></article>
			<article>aaaa.txt<i>查看</i></article>
			<article>aaaa.txt<i>查看</i></article>
		</div>
		<div>
			<article>aaaa.txt<i>上传</i></article>
			<article>aaaa.txt<i>上传</i></article>
			<article>aaaa.txt<i>上传</i></article>
			<article>aaaa.txt<i>上传</i></article>
			<article>aaaa.txt<i>上传</i></article>
			<article>aaaa.txt<i>上传</i></article>
			<article>aaaa.txt<i>上传</i></article>
			<article>aaaa.txt<i>上传</i></article>
			<article>aaaa.txt<i>上传</i></article>
			<article>aaaa.txt<i>上传</i></article>
			<article>aaaa.txt<i>上传</i></article>
			<article>aaaa.txt<i>上传</i></article>
		</div>
	</section>
	<footer>
		<a class="active">列表</a>
		<a>上传</a>
		<a>本地</a>
	</footer>
</body>
</html>